import service from '../api'

export function LoginByAP(data) {
    return service.post('/auth/login', data)
}
export function LoginByTR(data, token) {
    return service.post('/auth/sign_role', data, { headers: { 'Temporary-Token': token } })
}